How to Not alter font in webpage after opening a file (pdf or jpg) in ASP.NET C#? [closed]

Posted by Victor on Stack Overflow See other posts from Stack Overflow or by Victor
Published on 2012-09-19T18:29:26Z Indexed on 2012/09/19 21:37 UTC
Read the original article Hit count: 205

Filed under:
|
|
|
|

Possible Duplicate:
How to not alter font in webpage after opening a pdf in ASP.NET C#?

Previously I posted this question:

How to open files from a specific route in ASP-NET c#?

in fact, I have already asked this however it was only a minor question so I guess it wasn't that important in the previous post, so I will ask here.

Whenever I open a pdf with:

Response.Write("<script>window.open('FilePath');</script>");

All of the font in the page is altered, example, the letter's size increases and some of the letter's colors are switched to black instead of the font that I assigned.

Is there a way that I can work around that??

http://imageshack.us/a/img838/5145/beforeja.png

http://imageshack.us/a/img546/4760/afterw.png

Oh and I noticed that this also happens when you open images like jpg

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET